Object Hierarchy | 関連する C++クラス:Facet
ファセット
v1.5
ファセットは、PolygonMeshのPolygonFaceおよびNurbsSurfaceMeshのNurbsSurfaceへのアクセスに使用される一般的なオブジェクトです。汎用的なオブジェクトを使用することにより、特定のジオメトリタイプに応じた処理をせずに、オブジェクトのジオメトリをトレースするコードを書くことができます。
ヒント:より限定的なジオメトリタイプを操作する場合は、SubComponentオブジェクトを戻すFacet.SubComponentプロパティを使用できます。SubComponent
を使用すると、SubComponent.ComponentCollectionプロパティからPolygonFaceCollectionおよびNurbsSurfaceCollectionにアクセスできます。
| Application | Categories | FullName![]() |
Help |
Index![]() |
Name![]() |
NbPoints![]() |
NestedObjects |
| Origin | OriginPath | Parent | Points![]() |
Samples![]() |
Segments![]() |
SubComponent![]() |
Type![]() |
set oRoot = ActiveProject.ActiveScene.Root
set oCube = oRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oCube.ActivePrimitive.Geometry
set oFacets = oGeometry.Facets
LogMessage typename(oFacets)
for each oFacet in oFacets
for each oSegment in oFacet.Segments
LogMessage "Facet.Segment.Index " & oSegment.Index
next
next
|